package com.qf.service.impl;

import com.qf.dao.AccountDao;
import com.qf.factoy.BeanFactory;
import com.qf.service.AccountService;

/**
 * @ClassName AccountServiceImpl
 * @Description TODO
 * @Author 86181
 * @Date 2022/8/26 17:36
 * @Version 1.0
 **/
public class AccountServiceImpl implements AccountService {
    public void addAccount() {
        AccountDao accountDao = (AccountDao) BeanFactory.getBean("accountDao");
        System.out.println(accountDao);
        accountDao.addAccount();
    }

}
